<%--
  Created by IntelliJ IDEA.
  User: LMY
  Date: 2025/6/21
  Time: 23:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>pageContext对象的使用</title>
    </head>
    <body>
        协议：${pageContext.request.scheme}<br/>
        服务器ip：${pageContext.request.serverName}<br/>
        服务器端口：${ pageContext.request.serverPort }<br>
        工程路径：${ pageContext.request.contextPath }<br>
        请求方法：${ pageContext.request.method }<br>
        客户端 ip 地址：${ pageContext.request.remoteHost }<br>
        会话id ：${ pageContext.session.id }<br>
    </body>
</html>
